Action

An action providing a response to the StartDownloadCallback.

Constructors

Link copied to clipboard
constructor(consumer: Consumer<StartDownload.Response>)

Functions

Link copied to clipboard
open fun cancel()
Notifies the engine that the file download should be canceled.
Link copied to clipboard
open fun download(destFilePath: Path)
Notifies the engine that the file should be downloaded into the given target path.
Link copied to clipboard
Returns true if this action is closed.